Job: core (rust-3)
Runner: g1t, Linux X64 (Debian bookworm, Node 24, Python 3, Go, Rust)
Matrix: {"group":"rust-3","units":"repos,billing,actions","rust":true,"image":false}
##[group]G1T_TOKEN permissions
contents: read
metadata: read
##[endgroup]
Checking out flagon-io/g1t into /home/runner/work/repo
[command]git init --quiet
[command]git remote add origin https://g1t.sh/flagon-io/g1t.git
[command]git fetch --no-tags --prune --quiet origin refs/heads/main
[command]git checkout --quiet --force -B main 4ef467f8856abf8db69ce41b3de7f017a7483b0e
Checked out 4ef467f8856abf8db69ce41b3de7f017a7483b0e
##[group]Rust for Workers
rustup target add wasm32-unknown-unknown
##[endgroup]
shell: bash -e /home/runner/_temp/18dca2b68cd94336.sh
info: component rust-std for target wasm32-unknown-unknown is up to date
Cache restored from key: worker-build-Linux-532237695df81a68b97a8e57585bdb8b1ef467723ff1910933a24f0bcdcd6311 (2.6 MB in 1.3s)
Cache restored from key: worker-build-tools-Linux-532237695df81a68b97a8e57585bdb8b1ef467723ff1910933a24f0bcdcd6311 (115.1 MB in 3.2s)
Cache restored from key: cargo-crates-Linux-afaf53b999003c32e768d881f48250ecb2fc6f9c2f24776ba6e21e8aca3863fe (65.0 MB in 2.3s)
Cache restored from key: cargo-target-Linux-rust-3-3d035db4811946dbb56fb08af27c5c0f698630f063bc6e39b0782d88a9f3eceb (186.6 MB in 6.3s)
##[group]sccache
bash scripts/sccache.sh install
##[endgroup]
shell: bash -e /home/runner/_temp/18dfa2bb810fc193.sh
sccache: Starting the server...
sccache: Listening on address 127.0.0.1:4226
sccache 0.18.0: rustc goes through it from here on, cached in this repository's Actions cache.
##[group]Install
node scripts/deploy.mjs install --only "repos,billing,actions"
##[endgroup]
shell: bash -e /home/runner/_temp/18dea2bc7893e13c.sh
npm ci --no-audit --no-fund --workspaces=false

added 39 packages in 4s
npm warn install-scripts 2 packages have install scripts not yet covered by allowScripts:
npm warn install-scripts   esbuild@0.28.1 (postinstall: node install.js)
npm warn install-scripts   workerd@1.20261001.1 (postinstall: node install.js)
npm warn install-scripts
npm warn install-scripts Run `npm install-scripts ls` to review, or `npm install-scripts approve <pkg>` to allow.
##[group]Deploy repos,billing,actions
node scripts/deploy.mjs deploy --only "repos,billing,actions" --force --no-migrations --concurrency 2
##[endgroup]
shell: bash -e /home/runner/_temp/18d9a2beff94f929.sh
Deploying 4ef467f8856a (The advisories a repository publishes live in security_advisories: the security database already had an advisories table, its cache of OSV advisories, so the migration for repository advisories stopped at its first statement on deploy.)

unit     stage  action  live          migrations  why
-------  -----  ------  ------------  ----------  -------------------------------------------------------------------------
repos    core   deploy  d0fd07e23f54  -           9 changed files (crates/contracts/src/advisories.rs via crates/contracts)
billing  core   deploy  d0fd07e23f54  -           9 changed files (crates/contracts/src/advisories.rs via crates/contracts)
actions  core   deploy  d0fd07e23f54  -           11 changed files (services/actions/src/reach.rs)

3 to deploy: core (repos, billing, actions)
== core: repos, billing, actions
[billing]  ⛅️ wrangler 4.146.0
[billing] ────────────────────
[billing] [custom build] Running: node ../../scripts/build-rust-worker.mjs
[repos]  ⛅️ wrangler 4.146.0
[repos] ────────────────────
[repos] [custom build] Running: node ../../scripts/build-rust-worker.mjs
[billing] [custom build] [INFO]: Checking for the Wasm target...
[billing] [custom build] 
[billing] [custom build] [INFO]: Compiling to Wasm...
[billing] [custom build] 
[repos] [custom build] [INFO]: Checking for the Wasm target...
[repos] [custom build] 
[repos] [custom build] [INFO]: Compiling to Wasm...
[repos] [custom build] 
[billing] [custom build]     Blocking waiting for file lock on package cache
[billing] [custom build] 
[repos] [custom build]     Blocking waiting for file lock on package cache
[repos] [custom build] 
[billing] [custom build]     Blocking waiting for file lock on package cache
[billing] [custom build] 
[billing] [custom build]    Compiling g1t-contracts v0.1.0 (/home/runner/work/repo/crates/contracts)
[billing] [custom build] 
[repos] [custom build]     Blocking waiting for file lock on build directory
[repos] [custom build] 
[billing] [custom build]    Compiling g1t-kit v0.1.0 (/home/runner/work/repo/crates/kit)
[billing] [custom build] 
[billing] [custom build]    Compiling g1t-billing v0.1.0 (/home/runner/work/repo/services/billing)
[billing] [custom build] 
[billing] [custom build]     Finished `release` profile [optimized] target(s) in 37.35s
[billing] [custom build] 
[repos] [custom build]    Compiling g1t-scan v0.1.0 (/home/runner/work/repo/crates/scan)
[repos] [custom build]    Compiling g1t-secrets v0.1.0 (/home/runner/work/repo/crates/secrets)
[repos] [custom build] 
[repos] [custom build]    Compiling g1t-blobstore v0.1.0 (/home/runner/work/repo/crates/blobstore)
[repos] [custom build] 
[repos] [custom build]    Compiling g1t-rules v0.1.0 (/home/runner/work/repo/crates/rules)
[repos] [custom build] 
[billing] [custom build] [INFO]: Optimizing wasm binaries with `wasm-opt`...
[billing] [custom build] 
[billing] [custom build] [INFO]: :-)Done in 41.00s
[billing] [custom build] [INFO]: :-) Your wasm pkg is ready to publish at /home/runner/work/repo/services/billing/build/.tmp.
[billing] [custom build] 
[billing] [custom build] 
[billing] [custom build]   index.js  28.0kb
[billing] [custom build] 
[billing] [custom build] ⚡ Done in 11ms
[billing] [custom build] 
[repos] [custom build]    Compiling g1t-repos v0.1.0 (/home/runner/work/repo/services/repos)
[repos] [custom build] 
[billing] Total Upload: 5335.64 KiB / gzip: 1296.36 KiB
[billing] Worker Startup Time: 4 ms
[billing] Your Worker has access to the following bindings:
[billing] Binding                                                                              Resource                  
[billing] env.EMAIL (unrestricted)                                                             Send Email                
[billing] env.DB (g1t-billing)                                                                 D1 Database               
[billing] env.IDENTITY (g1t-identity)                                                          Worker                    
[billing] env.REPOS (g1t-repos)                                                                Worker                    
[billing] env.PACKAGES (g1t-packages)                                                          Worker                    
[billing] env.MARGIN_PERCENT ("20")                                                            Environment Variable      
[billing] env.FREE_WHILE_BUILDING ("false")                                                    Environment Variable      
[billing] env.PLAN_MONTHLY_CENTS ("2000")                                                      Environment Variable      
[billing] env.PLAN_INCLUDED_MICROS ("10000000")                                                Environment Variable      
[billing] env.FREE_PRIVATE_STORAGE_BYTES ("1000000000")                                        Environment Variable      
[billing] env.PUBLIC_PACKAGES_FREE_BYTES ("10000000000")                                       Environment Variable      
[billing] env.PRIVATE_PACKAGES_FREE_BYTES ("500000000")                                        Environment Variable      
[billing] env.FREE_AUDIT_RETENTION_DAYS ("7")                                                  Environment Variable      
[billing] env.AUDIT_RETENTION_DAYS ("90")                                                      Environment Variable      
[billing] env.AUDIT_MAX_DAYS ("400")                                                           Environment Variable      
[billing] env.TRIAL_WORKSPACE_MICROS ("5000000")                                               Environment Variable      
[billing] env.TRIAL_MONTHLY_POOL_MICROS ("100000000")                                          Environment Variable      
[billing] env.OSS_POOL_MICROS ("25000000")                                                     Environment Variable      
[billing] env.OSS_REPO_MICROS ("2000000")                                                      Environment Variable      
[billing] env.LIMIT_NEW_MICROS ("3000000")                                                     Environment Variable      
[billing] env.LIMIT_PAID_START_MICROS ("100000000")                                            Environment Variable      
[billing] env.LIMIT_PAID_MIN_MICROS ("25000000")                                               Environment Variable      
[billing] env.LIMIT_PAID_MAX_MICROS ("1000000000")                                             Environment Variable      
[billing] env.ISSUE_CAP_MICROS ("10000000")                                                    Environment Variable      
[billing] env.SPIKE_FACTOR ("5")                                                               Environment Variable      
[billing] env.SPIKE_FLOOR_MICROS ("5000000")                                                   Environment Variable      
[billing] env.OVERAGE_FORGIVE_COST_MICROS ("50000000")                                         Environment Variable      
[billing] env.GIT_OPERATIONS_INCLUDED ("50000")                                                Environment Variable      
[billing] env.MIN_CHARGE_MICROS ("5000000")                                                    Environment Variable      
[billing] env.CLOUDFLARE_ACCOUNT_ID ("1e6f2cffa3f445920836e8ebe446bb58")                       Environment Variable      
[billing] env.CLOUDFLARE_BILLING_DAY ("28")                                                    Environment Variable      
[billing] env.AI_GATEWAY_ID ("g1t")                                                            Environment Variable      
[billing] env.COSTS_ALERT_EMAIL ("hey@flagon.io")                                              Environment Variable      
[billing] env.COMPED_MONTHLY_CEILING_MICROS ("150000000")                                      Environment Variable      
[billing] env.PLATFORM_DAILY_SPEND_CAP_MICROS ("75000000")                                     Environment Variable      
[billing] env.PLATFORM_HOURLY_WORKERS_REQUESTS ("20000000")                                    Environment Variable      
[billing] env.PLATFORM_HOURLY_WORKERS_CPU_MS ("100000000")                                     Environment Variable      
[billing] env.PLATFORM_HOURLY_D1_ROWS_READ ("2000000000")                                      Environment Variable      
[billing] env.PLATFORM_HOURLY_D1_ROWS_WRITTEN ("5000000")                                      Environment Variable      
[billing] env.PLATFORM_HOURLY_QUEUE_OPERATIONS ("5000000")                                     Environment Variable      
[billing] env.PLATFORM_HOURLY_DO_REQUESTS ("20000000")                                         Environment Variable      
[billing] env.PLATFORM_HOURLY_DO_ROWS_WRITTEN ("5000000")                                      Environment Variable      
[billing] env.PLATFORM_HOURLY_DO_STORAGE_WRITE_UNITS ("5000000")                               Environment Variable      
[billing] env.PLATFORM_HOURLY_DO_ACTIVE_SECONDS ("3000000")                                    Environment Variable      
[billing] env.PLATFORM_HOURLY_KV_READS ("10000000")                                            Environment Variable      
[billing] env.PLATFORM_HOURLY_KV_WRITES ("200000")                                             Environment Variable      
[billing] env.PLATFORM_HOURLY_KV_DELETES ("200000")                                            Environment Variable      
[billing] env.PLATFORM_HOURLY_KV_LISTS ("200000")                                              Environment Variable      
[billing] env.PLATFORM_HOURLY_ARTIFACTS_EVENTS ("1000000")                                     Environment Variable      
[billing] env.PLATFORM_SPIKE_FACTOR ("10")                                                     Environment Variable      
[billing] env.PLATFORM_SPIKE_FLOOR_PERCENT ("10")                                              Environment Variable      
[billing] env.PLATFORM_SEVERE_FACTOR ("5")                                                     Environment Variable      
[billing] env.AUTO_PAUSE ("schedules,indexing")                                                Environment Variable      
[billing] env.CLOUDFLARE_FIXED_MONTHLY_MICROS ("30000000")                                     Environment Variable      
[billing] Uploaded g1t-billing (6.90 sec)
[billing] Deployed g1t-billing triggers (3.87 sec)
[billing]   schedule: */15 * * * *
[billing]   schedule: 17 4 * * *
[billing]   Consumer for g1t-events-billing
[billing] Current Version ID: c61cee15-b735-4899-8d48-af7c4a59f692
[actions]  ⛅️ wrangler 4.146.0 (update available 4.149.0)
[actions] ───────────────────────────────────────────────
[actions] [custom build] Running: node ../../scripts/build-rust-worker.mjs
[actions] [custom build] [INFO]: Checking for the Wasm target...
[actions] [custom build] 
[actions] [custom build] [INFO]: Compiling to Wasm...
[actions] [custom build] 
[actions] [custom build]     Blocking
[actions] [custom build]  waiting for file lock on build directory
[actions] [custom build] 
[repos] [custom build]     Finished `release` profile [optimized] target(s) in 1m 08s
[repos] [custom build] 
[actions] [custom build]    Compiling g1t-contracts v0.1.0 (/home/runner/work/repo/crates/contracts)
[actions] [custom build] 
[actions] [custom build]    Compiling g1t-actions v0.1.0 (/home/runner/work/repo/crates/actions)
[actions] [custom build]    Compiling g1t-secrets v0.1.0 (/home/runner/work/repo/crates/secrets)
[actions] [custom build] 
[repos] [custom build] [INFO]: Optimizing wasm binaries with `wasm-opt`...
[repos] [custom build] 
[repos] [custom build] [INFO]: :-)Done in 1m 13s
[repos] [custom build] [INFO]: :-) Your wasm pkg is ready to publish at /home/runner/work/repo/services/repos/build/.tmp.
[repos] [custom build] 
[repos] [custom build] 
[repos] [custom build]   index.js  32.1kb
[repos] [custom build] 
[repos] [custom build] ⚡ Done in 8ms
[repos] [custom build] 
[repos] Total Upload: 7046.68 KiB / gzip: 1784.56 KiB
[repos] Worker Startup Time: 5 ms
[repos] Your Worker has access to the following bindings:
[repos] Binding                                                                Resource                  
[repos] env.GIT_CACHE (be765052d0124c2a935b3db4dff99f1f)                       KV Namespace              
[repos] env.DB (g1t-repos)                                                     D1 Database               
[repos] env.GIT_PACKS (g1t-git-packs)                                          R2 Bucket                 
[repos] env.BACKUPS (g1t-backups)                                              R2 Bucket                 
[repos] env.GITSTORE (g1t)                                                     Artifacts                 
[repos] env.IDENTITY (g1t-identity)                                            Worker                    
[repos] env.EVENTS (g1t-events)                                                Worker                    
[repos] env.SECURITY (g1t-security)                                            Worker                    
[repos] env.BILLING (g1t-billing)                                              Worker                    
[repos] env.WORK (g1t-work)                                                    Worker                    
[repos] env.PACK_FILL_LIMIT (30 requests/60s)                                  Rate Limit                
[repos] env.ANONYMOUS_FETCH_LIMIT (120 requests/60s)                           Rate Limit                
[repos] env.BACKUP_STORE ("r2")                                                Environment Variable      
[repos] env.BACKUPS_PER_NIGHT ("200")                                          Environment Variable      
[repos] env.BACKUP_FULL_EVERY ("30")                                           Environment Variable      
[repos] env.GIT_OPERATIONS_FREE_CAP ("50000")                                  Environment Variable      
[repos] env.GIT_OPERATIONS_FREE_HOURLY ("60")                                  Environment Variable      
[repos] env.FREE_PRIVATE_STORAGE_BYTES ("1000000000")                          Environment Variable      
[repos] env.REPO_STORAGE_LIMIT_BYTES ("950000000")                             Environment Variable      
[repos] env.LARGE_PUSHES ("unscanned")                                         Environment Variable      
[repos] env.FORK_RETENTION_DAYS ("1")                                          Environment Variable      
[repos] env.GITSTORE_NAMESPACES ("{"GITSTORE":"g1t"}")                         Environment Variable      
[repos] env.GITSTORE_NEW_REPOS ("")                                            Environment Variable      
[repos] Uploaded g1t-repos (8.30 sec)
[repos] Deployed g1t-repos triggers (4.29 sec)
[repos]   schedule: 23 * * * *
[repos]   schedule: 53 2 * * *
[repos]   Consumer for g1t-events-repos
[repos] Current Version ID: 92771b07-5763-453e-9d3b-512796d21872
[actions] [custom build]    Compiling g1t-kit v0.1.0 (/home/runner/work/repo/crates/kit)
[actions] [custom build] 
[actions] [custom build]    Compiling g1t-actions-service v0.1.0 (/home/runner/work/repo/services/actions)
[actions] [custom build] 
[actions] [custom build]     Finished `release` profile [optimized] target(s) in 1m 17s
[actions] [custom build] 
[actions] [custom build] [INFO]: Optimizing wasm binaries with `wasm-opt`...
[actions] [custom build] 
[actions] [custom build] [INFO]: :-)Done in 1m 20s
[actions] [custom build] [INFO]: :-) Your wasm pkg is ready to publish at /home/runner/work/repo/services/actions/build/.tmp.
[actions] [custom build] 
[actions] [custom build] 
[actions] [custom build]   index.js  28.6kb
[actions] [custom build] 
[actions] [custom build] ⚡ Done in 8ms
[actions] [custom build] 
[actions] Total Upload: 4222.17 KiB / gzip: 1056.80 KiB
[actions] Worker Startup Time: 6 ms
[actions] Your Worker has access to the following bindings:
[actions] Binding                                    Resource         
[actions] env.DB (g1t-actions)                       D1 Database      
[actions] env.ACTIONS_CACHE (g1t-actions-cache)      R2 Bucket        
[actions] env.REPOS (g1t-repos)                      Worker           
[actions] env.WORK (g1t-work)                        Worker           
[actions] env.IDENTITY (g1t-identity)                Worker           
[actions] env.RUNNER (g1t-runner)                    Worker           
[actions] env.EVENTS (g1t-events)                    Worker           
[actions] env.PROJECTS (g1t-projects)                Worker           
[actions] env.BILLING (g1t-billing)                  Worker           
[actions] env.DEPLOYMENTS (g1t-deployments)          Worker           
[actions] Uploaded g1t-actions (8.03 sec)
[actions] Deployed g1t-actions triggers (4.12 sec)
[actions]   schedule: * * * * *
[actions]   Consumer for g1t-events-actions
[actions] Current Version ID: ce85559e-d4b8-4a3c-b410-a75ccff17dcb

unit     stage  result  version                               time    note
-------  -----  ------  ------------------------------------  ------  ----
repos    core   ok      92771b07-5763-453e-9d3b-512796d21872  105.5s
billing  core   ok      c61cee15-b735-4899-8d48-af7c4a59f692  71.7s
actions  core   ok      ce85559e-d4b8-4a3c-b410-a75ccff17dcb  97.0s

Deployed in 170.8s.
##[group]sccache's hits and misses
bash scripts/sccache.sh stats
##[endgroup]
shell: bash -e /home/runner/_temp/18d8a2e731043186.sh
Compile requests                      20
Compile requests executed             10
Cache hits                             7
Cache hits (Rust)                      7
Cache misses                           3
Cache misses (Rust)                    3
Cache hits rate                    70.00 %
Cache hits rate (Rust)             70.00 %
Cache timeouts                         0
Cache read errors                      0
Forced recaches                        0
Cache write errors                     0
Cache errors                           0
Compilations                           3
Compilation failures                   0
Non-cacheable compilations             0
Non-cacheable calls                   10
Non-compilation calls                  0
Unsupported compiler calls             0
Average cache write                5.531 s
Average compiler                  11.021 s
Average cache read hit             1.311 s
Failed distributed compilations        0

Non-cacheable reasons:
-                                      4
crate-type                             3
missing input                          3

Cache location                  ghac, name: sccache-v0.18.0, prefix: /sccache/
Base directories                (none)
Version (client)                0.18.0
Cache saved with key: cargo-target-Linux-rust-3-03d58889b77f694c0139d2cbca29812b93979916a9f7da6d6eb5d2261402a978 (187.0 MB, packed in 1.1s, sent in 23.8s)
